package com.banmoon.interpreter;

import lombok.Getter;

import java.util.Map;

/**
 * 符号解释器
 */
@Getter
public abstract class SymbolExpression extends Expression{

    private Expression left;

    private Expression right;

    public SymbolExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

    @Override
    public abstract int interpreter(Map<String, Integer> map);
}
